package Check;

public class LoginCheck {
	private String name;
	private String password;
	public LoginCheck(String name,String password){
		this.name=name;
		this.password=password;
	}
public boolean validate(){
	if("yy".equals(name)&&"123".equals(password)){
		return true;
	}
	else{
		return false;
	}
}
}
